30. Notebook + Quiz: Model Diagnostics

Code

If you need a code on the https://github.com/udacity.

QUIZ QUESTION::

Using the results of your confusion matrix, provide the value next to the description of the value.

ANSWER CHOICES:



Description

Value

The number of non-admits correctly identified as non-admits

The number of admits correctly identified as admits.

The number of admits incorrectly identified as non-admits.

The number of non-admits incorrectly identified as admits.

SOLUTION:

Description

Value

The number of non-admits correctly identified as non-admits

The number of non-admits incorrectly identified as admits.

The number of admits incorrectly identified as non-admits.

The number of admits correctly identified as admits.

QUIZ QUESTION::

Match each answer to the question it answers.

ANSWER CHOICES:



Question

Answer

If we really care about correctly identifying the accepted students as accepted, which metric do we care about the most?

If we only care obtaining the most correctly identified cases whether accepted or non-accepted, which metric do we care about the most?

What was the recall for the test data?

What was the precision for the test data?

SOLUTION:

Question

Answer

What was the recall for the test data?

If we only care obtaining the most correctly identified cases whether accepted or non-accepted, which metric do we care about the most?

What was the precision for the test data?

If we really care about correctly identifying the accepted students as accepted, which metric do we care about the most?